<div class="top-wrap">
	<a href="http://www.qiaoshouji.com" class="logo" title="巧手记">巧手记</a>
	<div class="top">{#if $usercookie.uid}<a href="{#spUrl c=user a=index uid=$usercookie.uid}"><strong>{#$usercookie.username}</strong></a><a href="{#spUrl c=user a=logout}">登出</a>{#else}<a href="{#spUrl c=user a=reg}">注册</a><a href="{#spUrl c=user a=login}">登录</a>{#/if}<a href="{#spUrl c=main a=post}">发表文章</a><a href="{#spUrl c=main a=index}">返回列表</a><div class="search"><form id="sea" name="sea" method="post" action="">
  <label for="keyword">请输入查询关键词</label><input type="text" name="keyword" id="keyword" />
</form></div></div>
</div>
